package com.config;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * Created by pengfei on 16/7/11.
 */
//@ConfigurationProperties(prefix = "voice.dayu")
public class VoiceTemplateConfig implements InitializingBean{
    private Map<String,VoiceTemplate> templateConfig;

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println(templateConfig);
    }

    public Map<String, VoiceTemplate> getTemplateConfig() {
        return templateConfig;
    }

    public void setTemplateConfig(Map<String, VoiceTemplate> templateConfig) {
        this.templateConfig = templateConfig;
    }
}
